package org.jsshbroadcast.ssh;

import com.jcraft.jsch.*;

/**
 *
 * @author Eduardo Folly
 */
public class InformacaoUsuario implements UserInfo {

    private String passwd;

    /** Creates a new instance of InformacaoUsuario */
    public InformacaoUsuario(String senha) {
        passwd = senha;
    }

    public String getPassword() {
        return passwd;
    }

    public boolean promptYesNo(String str) {
        return true;
    }

    public String getPassphrase() {
        return null;
    }

    public boolean promptPassphrase(String message) {
        return true;
    }

    public boolean promptPassword(String message) {
        return true;
    }

    public void showMessage(String message) {
        System.out.println(message);
    }
}
